Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Keywords] add QUOTE_VALUE QuantityType #861

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

techfreaque
Copy link
Contributor

adds the syntax 100$ to define the amount based on the value in quote currency.
On a BTC/EUR pair the syntax would still be 100$ to get a 100 EUR position size, so we might want a different syntax.

@techfreaque
Copy link
Contributor Author

techfreaque commented Mar 10, 2023

Not sure why CI is failing on the import inside the method. (If I import exchange_public_data at the top of the file I'm getting a circular import error)

Comment on lines +52 to +53
# avoid circular import error
import tentacles.Meta.Keywords.scripting_library.data.reading.exchange_public_data as exchange_public_data
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there another way to handle imports in the scripting library to avoid circular imports?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants